
package com.rt.schedulenew.service.impl;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.HashMap;
import java.util.List;
import com.rt.schedulebase.entity.ExamItem;
import com.rt.schedulebase.mapper.ExamItemMapper;
import org.springframework.stereotype.Service;
import com.rt.schedulenew.api.IExamItemService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

@Service
public class ExamItemServiceImpl extends ServiceImpl<ExamItemMapper, ExamItem> implements IExamItemService {
    @Override
    public List<ExamItem> getList(ExamItem item) {
        Map<String, Object> map = new HashMap<>();
        map.put("APPLY_NO", item.getApplyNo());
        map.put("ITEM_NO", item.getItemNo());
        QueryWrapper<ExamItem> qw = new QueryWrapper<>();
        qw.allEq(map);
        return (this.baseMapper).selectList(qw);
    }
}
